home *** CD-ROM | disk | FTP | other *** search
/ Wildcat Files 2 / The Wildcat Files 2 (Arsenal Computer).ISO / modem / atcomm.doc < prev    next >
Text File  |  1994-08-23  |  21KB  |  569 lines

  1.  
  2. BASIC AT COMMANDS (default values are highlighted)
  3.  
  4. Command   Description         
  5.  
  6. AT        Attention characters
  7. ATA       Answer command     
  8. ATA/      Re-Execute last command
  9.  
  10. Transmit Carrier Signal
  11. ATC0      Transmit carrier signal off. (default)
  12. ATC1      Transmit carrier signal on.
  13.  
  14. Dial Modifiers
  15.  
  16. Dial      Options        Description    
  17. ATD       none           Dial. (ATD followed by phone number)
  18. ATDL      none           Re-dial.
  19. ATDP      none           Pulse (rotary) dial. 10 pulses per      
  20.                          second.
  21. ATDT      none           Touch tone dial (DTMF).
  22. ATDW      1-255sec       Wait for dial-tone. Default is 50       
  23.                          seconds.
  24. ATD,      0-255sec       Pause. Default is 2 seconds.
  25. ATD@      none           Wait for quiet answer.
  26. ATD!      none           Initiate hook flash.
  27. ATD;      none           Return to command state after dialing.
  28. ATD^      none           Disable calling tone.
  29. ATDS=0-3  none           Dial stored number. 
  30.  
  31. Command   Description     
  32.  
  33. ATE0      Disables echoing of the commands to the screen.
  34. ATE1      Enables echoing of the commands to the screen.         
  35.           (default)
  36.  
  37. ATH0      Instructs modem to go on-hook.
  38. ATH1      Instructs modem to go off-hook.
  39.  
  40. ATI0      Displays the product identification code.
  41. ATI1      Displays the checksum.   
  42. ATI2      Displays ROM checksum as OK or ERROR.
  43. ATI3      Displays the firmware revision level.
  44.  
  45. Speaker volume
  46. ATL0      Off or low volume.
  47. ATL1      Low volume. (default)
  48. ATL2      Medium volume.
  49. ATL3      High volume.
  50.  
  51. Speaker control
  52. ATM0      Disables the modem speaker.
  53. ATM1      Turns speaker on until carrier has been detected.      
  54.                (default)
  55. ATM2      Instructs the modem speaker to stay on all of the      
  56.           time.
  57. ATM3      Enables speaker after dialing until connection is      
  58.           established.
  59.  
  60. Automode enable
  61. ATN0      Requires speed of the connection be that specified     
  62.           by the value of S37.
  63. ATN1      Permits handshaking at any speed supported by          
  64.           both modems. (default)
  65.  
  66. Return to on line state mode
  67. ATO0      Switches the modem from command mode to on-            
  68.           line mode without dialing.
  69. ATO1      Switches from command mode to on-line mode an          
  70.           initiates an equalizer retrain sequence during 2400    
  71.           baud bps operation.
  72.  
  73. Mode responses
  74. ATQ0      Enables result codes to be issued to the screen.       
  75.           (default)
  76. ATQ1      Disables result codes to be issued to the screen.
  77.  
  78. Result code format
  79. ATV0      Numeric format.
  80. ATV1      Verbal format. (default)
  81.  
  82. Error correction message control
  83. ATW0      Error correction call progress not reported.           
  84.           (default)
  85. ATW1      Call progress reported.
  86. ATW2      Call progress not reported. Connect xxxx message       
  87.           reports DCE speed.
  88.  
  89. Extended result codes
  90. ATX0      Disables monitoring of busy tones unless forced        
  91.           otherwise by country requirements; sends only OK,      
  92.           CONNECT, RING, NO   CARRIER, ERROR and NO              
  93.           ANSWER result codes.
  94. ATX1      Disables monitoring of busy tones unless forced        
  95.           otherwise by country requirements; sends only OK,      
  96.           CONNECT, RING, NO   CARRIER, ERROR, NO                 
  97.           ANSWER and CONNECT XXXX result codes.
  98. ATX2      Disables monitoring of busy tones unless forced        
  99.           otherwise by country requirements; sends only OK,      
  100.           CONNECT, RING, NO CARRIER, ERROR, DIAL TONE, NO ANSWER
  101.           and CONNECT XXXX result codes.
  102. ATX3      Enables monitoring of busy tones; sends only OK,       
  103.           CONNECT, RING, NO CARRIER, ERROR, NO                   
  104.           DIALTONE, NO ANSWER and CONNECT XXXX.
  105. ATX4      Enables monitoring of busy tones and sends all         
  106.           messages. (default)
  107.  
  108.  
  109. Control long space disconnect
  110. ATY0      Disables long space disconnect. (default)
  111. ATY1      Enables long space connect.
  112.  
  113. Soft reset and restore profile
  114. ATZ0      Restores stored profile 0.  (default)
  115. ATZ1      Restores stored profile 1.
  116.  
  117. +++       Escape characters. The escape characters are           
  118.           known as  +++. They will switch from on-line mode to
  119.           command mode while preserving the connection with the on
  120.           line modem.
  121.  
  122. Extended AT Commands
  123.  
  124. Command   Description    
  125.  
  126. Data carrier detect (DCD) signal
  127. AT&C0     Forces DCD signal to be on at all times. (default)   
  128. AT&C1     DCD on indicates presence of data carrier.
  129.  
  130. Data terminal ready (DTR) signal. Interprets the ON to OFF
  131. transition of the DTR signal from the DTE according to the &Q
  132. settings.
  133.  
  134. AT&D0     &Q0,5,6. DTR ignored.
  135.           &Q1,4. Modem hangs up; auto answer not affected.
  136.           &Q2,3. Modem hangs up; auto answer inhibited.          
  137.           (default)
  138. AT&D1     &Q0,1,4-6. Asynchronous escape sequence.
  139.           &Q2,3. Modem hangs up; auto answer inhibited.
  140. AT&D2     &Q0-6. Modem hangs up; auto answer inhibited.
  141. AT&D3     &Q0,1,4-6. Modem does a soft reset as if the ATZ command
  142.           were received;
  143.           &Q2,3. Modem hangs up; auto answer inhibited.
  144.  
  145. AT&F      Recalls factory defaults. Instructs the modem to use   
  146.           the factory set parameters.
  147.  
  148. DTE/Modem flow control
  149. AT&K0     Disable flow control.          
  150. AT&K3     Enable RTS/CTS (default for data modem)
  151. AT&K4     Enable XON/XOFF.   
  152. AT&K5     Enable transport XON/XOFF.
  153. AT&K6     Enable both RTS/CTS and XON/XOFF (default for FAX modem)
  154.  
  155. Note on Flow Control. XON/XOFF is a software-based flow control
  156. method, using standard ASCII control characters to pause or resume
  157. data transmission.RTS/CTS pacing, a hardware-based method, uses an
  158. electrical signal. Signals are exchanged as follows:
  159.  
  160.  
  161.  
  162.  
  163.  
  164. RECEIVER                 TRANSMITTER
  165. CTS ON    ------------>  START SENDING
  166. CTS ON    <-----------   RTS ON (ready to send)
  167. CTS OFF   ------------>  RTS OFF (stop sending)
  168.  
  169. Command   Description 
  170.  
  171. Select pulse dial make/break ratio
  172. AT&P0          Selects a make/break ratio of 39/61 at 10pps.     
  173.                US and Canada. (default)
  174. AT&P1          Selects a make/break ratio of 33/67 at 10pps.     
  175.                UK and Hong Kong.
  176. AT&P2          Same as 0 except at 20pps.
  177. AT&P3          Same as 1 except at 20pps.
  178.  
  179. Asynchronous mode
  180. AT&Q0          Direct Asynchronous mode.
  181. AT&Q5          Modem negotiates an error-corrected link.         
  182.                (default)
  183. AT&Q6          Selects asynchronous operation in normal mode     
  184.                (i.e. speed buffering).
  185.  
  186. Data Set Ready (DSR) signal
  187. AT&S0          Causes DSR signal to be active at all times.      
  188.                (default)
  189. AT&S1          Causes DSR signal to be active according to  the  
  190.                CCITT specification.   
  191.  
  192. Test and diagnostics
  193. AT&T0          Terminates any test in progress.
  194. AT&T1          Executes the local analog loopback test.
  195. AT&T3          Executes the local digital loopback test.
  196. AT&T4          Enables the modem to accept a request from a      
  197.                remote mode for a digital loopback test. (default)
  198. AT&T5          Instructs the modem to deny a request from a      
  199.                remote modem for a digital loopback test.
  200. AT&T6          Executes the remote digital loopback test.
  201. AT&T7          Executes the remote digital loopback test with a
  202.                self test.
  203. AT&T8          Executes the remote analog loopback test with a   
  204.                self test.
  205.  
  206. AT&V      View current configuration and user profile.
  207.  
  208. Store user profile. Saves the current configuration into
  209. non-volatile RAM as one of two user profiles.
  210. AT&W0     Saves as user profile 0. 
  211. AT&W1     Saves as user profile 1. 
  212.  
  213. Designate default user profile
  214. AT&Y0          Selects user profile 0.
  215. AT&Y1          Selects user profile 1.
  216.  
  217. Stored phone number
  218. AT&Z=0    Stores a 36 digit dial string.
  219. AT&Z=1    Stores a 36 digit dial string.
  220. AT&Z=2    Stores a 36 digit dial string.
  221. AT&Z=3    Stores a 36 digit dial string.
  222.  
  223.  
  224. MNP Operation
  225.  
  226. The V.FAST Class Modem supports all of the preceding classes. The
  227. following AT Commands apply to the MNP protocol. Default values are
  228. highlighted. 
  229.  
  230. Maximum MNP Block Size. Use this command to transmit smaller blocks
  231. of data in a reliable data link connection.
  232.  
  233. AT\A0          set maximum block size to 64 characters.
  234. AT\A1          set maximum block size to 128 characters.         
  235.                (DEFAULT)
  236. AT\A2          set maximum block size to 192 characters. 
  237. AT\A3          set maximum block size to 256 characters.
  238.  
  239. Transmit Break. When this command is entered during a non-MNP
  240. connection, a break signal is sent to the remote modem. 
  241. The length of the break is 100 times the n parameter (1-9) in
  242. milliseconds. The default is 3.
  243.  
  244. AT\B3          (DEFAULT)
  245.  
  246. Modem to Modem Flow Control. Enables or disables modem to modem
  247. flow control during a normal mode connection. This command is
  248. ignored when error correction is selected.
  249.  
  250. AT\G0          Disables flow control (XON/XOFF) (DEFAULT)
  251. AT\G1          Enables flow control (XON/XOFF)
  252.  
  253. Break Control. Determines the modem response when a BREAK is
  254. received from the DTE or the remote modem. The values of the
  255. parameters vary based on the three following conditions:
  256.  
  257. (1) When a break is received from the DTE during NORMAL or MNP
  258. mode:
  259.  
  260. AT\K0, 2, 4    modem enters command mode without sending a break to
  261.                the remote modem.
  262. AT\K1          modem clears the terminal and modem buffers and
  263.                sends a break to the remote modem.
  264. AT\K3          modem does not clear the buffers, but sends a break
  265.                to the remote modem.
  266. AT\K5          modem sends a break to the remote modem in sequence
  267.                with any transmitted data. (DEFAULT)
  268.  
  269. (2) When a break is received from the remote modem during NORMAL
  270. mode:
  271.  
  272. AT\K0, 1       modem clears the terminal and modem buffers and
  273.                sends a break to the local DTE.
  274. AT\K2, 3       modem does not clear the buffers but sends a break
  275.                to the local DTE.
  276. AT\K4, 5       modem sends a break in sequence with any data     
  277.                being buffered. (DEFAULT)
  278.  
  279. (3) When a break is received from the DTE during DIRECT MODE mode:
  280.  
  281. AT\K0,1,3      modem sends a break to the remote modem and enters
  282.                command mode.
  283.  
  284. AT\K2, 4, 5    modem sends a break to the remote modem. (DEFAULT)
  285.  
  286.  
  287. MNP Block Transfer Control. Determines whether or not the modem
  288. will use block or stream mode for MNP link.
  289.  
  290. AT\L0          uses stream mode for MNP link connections (DEFAULT)
  291. AT\L1          uses block mode for MNP connections
  292.  
  293. Error Correction Operating Mode. Selects the operating mode the
  294. modem uses while connected.
  295.  
  296. AT\N0          NORMAL (speed buffering) mode.
  297. AT\N1          DIRECT (pass-through) mode.
  298. AT\N2          RELIABLE LINK mode. Specifies error correction for
  299.                the modem-to-modem connection 
  300. AT\N3          AUTO-RELIABLE LINK mode. Attempts error-correction
  301.                connection but will fall back to normal mode if
  302.                unable to establish an MNP link. 
  303. AT\N4          LAPM error correction mode.
  304. AT\N5          MNP error correction mode
  305.  
  306. Split Speed Operation. Supports a split-speed DCE/DTE interface for
  307. applications which require a transmit speed of 75bps and receive
  308. speed of 1200bps at the DTE interface.
  309.  
  310. AT\W0          disables (DEFAULT)
  311. AT\W1          enables
  312.  
  313. MNP Link Negotiation Speed. Controls the connection speed for link
  314. negotiations.
  315.  
  316. AT*H0          link negotiation occurs at the highest supported  
  317.                speed. (DEFAULT)
  318. AT*H1          link negotiation occurs at 1200bps.
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326. S-Registers 
  327.  
  328. This section defines the purpose of the modem registers, and
  329. sequentially lists the registers and describes their functions.
  330. These registers affect various operating characteristics and allow
  331. you to obtain information about the modem, as well as test the
  332. modem. Each register has a factory-set value, which you can read or
  333. change to fit your needs.
  334.  
  335. Reading a Register Value
  336. To read the current value of a register, type:
  337.  
  338. AT Sn? [ENTER], 
  339.  
  340. where n is a register number. 
  341.  
  342. AT Sn? Sn? [ENTER] from the command mode. 
  343.  
  344. To read the register values of S0 and S1, type 
  345.  
  346. AT S0? S1? [ENTER]. 
  347.  
  348. The modem will display the first register value, a carriage return,
  349. the next register value, a carriage return, and OK or 0.
  350.  
  351. Changing a Register Value 
  352. To change a register value, use the Sn command (ATSn=v), where n is
  353. a register number and v is the new value you want to assign to the
  354. register. Type:
  355.  
  356. AT S0=3 [ENTER] 
  357.  
  358. to have the modem automatically answer on the third ring.
  359.  
  360.  
  361. The following table lists the modem's registers and their
  362. functions. 
  363.  
  364. Reg. Range     Units     Default   Definition     
  365. S0   0-255     rings     2         Auto-answer    
  366. S1   0-255     rings     0         Count incoming rings 
  367. S2   0-255     rings     43        Escape character value. 
  368. S3   0-127     ASCII     13        Carriage return character. 
  369. S4   0-127     ASCII     10        Line feed character. 
  370. S5   0-32      ASCII     8         Backspace character. 
  371. S6   2-255     seconds   2         Wait time for Blind Dialing.
  372. S7   1-255     seconds   50        Wait for carrier after dial. 
  373. S8   0-255     seconds   2         Pause time for dial delay.
  374. S9   1-255     seconds   6/10      Carrier detect.
  375. S10  1-255     seconds   14 (1.4)  Lost Carrier to Hang Up Delay.
  376. S11                                Reserved.
  377. S12  0-255     seconds   50(1)     Escape code guard time*. 
  378. (*in one-fiftieth second increments)
  379. S13                                Reserved.
  380. S14  Bit Mapped          AA,hex    Bit mapped registers. 
  381. S15                                Reserved
  382. S16  Bit Mapped          80,hex    Modem test options. 
  383. S17                                Reserved.
  384. S18  0-255     seconds   0         Test timer. 
  385. S19                                Reserved.
  386. S20                                Reserved.
  387. S21  Bit Mapped          00,hex    Bit mapped registers. 
  388. S22  Bit Mapped          75,hex    Bit mapped registers. 
  389. S23  Bit Mapped          07,hex    Bit mapped registers. 
  390. S24  0-255     seconds   0         Sleep Inactivity Timer.
  391. S25  0-255     seconds   5         Asynchronous DTR Delay. 
  392. S26  0-255     seconds   1         Delay Interval.
  393. S27  Bit Mapped          9,hex     Bit mapped registers. 
  394. S28  Bit Mapped                    Bit mapped registers
  395. S29                                Reserved.
  396. S30  0-255     seconds   0         Inactivity Timer.
  397. S31  Bit Mapped Options.
  398. S32  0-255     ASCII     17        XON Character.
  399. S33  0-255     ASCII     19        XOFF Character.
  400. S34-35                             Reserved.
  401. S36  Bit Mapped Options.
  402. S37  0-12                0         Telephone Line Speed
  403.  
  404. NOTE: This is interlinked with the ATFn command. If an invalid
  405. number is entered, the number is accepted into the register, but
  406. S37 will react as though the default value has been entered.
  407.  
  408. Bits 0-3  0    =    Attempt auto mode connection (ATF0)(DEFAULT)
  409.           1-3  =    Attempt to connect at 300bps
  410.           4    =    Reserved
  411.           5    =    Attempt to connect at 1200bps (ATF1)
  412.           6    =    Attempt to connect at 2400bps (ATF4)
  413.           7    =    Attempt to connect at V.23 (ATF3)
  414.           8    =    Attempt to connect at 4800bps (ATF6)
  415.           9    =    Attempt to connect at 9600bps (ATF8)
  416.           10   =    Attempt to connect at 12Kbps (ATF9)
  417.           11   =    Attempt to connect at 14.4Kbps (ATF10)
  418.           12   =    Attempt to connect at 7200bps (ATF7)
  419.  
  420. Bits 4-7  Reserved
  421.  
  422. S38  0-255     seconds   20        Delay Before Forced Hangup.
  423. S39  Bit Mapped                    Bit Mapped Registers.
  424. S40  Bit Mapped                    Bit Mapped Registers.
  425. S41  Bit Mapped                    Bit Mapped Registers.
  426. S42-45                             Reserved.
  427. S46  136 or 138          138       Data Compression Control. 
  428.  
  429. NOTE: 136 enables error correction with no compression; 138 enables
  430. error correction WITH compression.
  431.  
  432. S48  0, 7, 128           7         V.42 Negotiation.
  433.  
  434. NOTE: 0 disables negotiation and proceeds with LAPM; 7 enables
  435. negotiation; and 128 disables negotiation and proceeds with
  436. fallback action specified in S36. The default for S36 is to attempt
  437. an MNP connection.
  438.  
  439. S49-81                             Reserved.
  440. S82       3, 7, 128      128       Break Handling Option.
  441. S86       N/A                      Connection Failure Cause Code.
  442. S91       0 to -15  dBm  10        PSTN Transmit Level.
  443. S92       0 to -15  dBm  10        Fax Transmit Level.
  444. S95       Bit-Mapped     NA        Extended Results Codes.  
  445. NOTE: Bit values are defined as follows for S95:
  446.  
  447. 0 =  CONNECT CODE indicates DCE speed instead of DTE speed.
  448. 1 =  Append ARQ (automatic repeat request) to verbose CONNECT XXXX
  449.      result code if protocol is other than none.
  450. 2 =  Enable CARRIER XXXX result code.
  451. 3 =  Enable PROTOCOL XXXX result code.
  452. 5 =  Enable COMPRESSION result code.
  453.  
  454. Bits 4, 6, and 7 are reserved.
  455.  
  456.  
  457. Result Codes
  458.  
  459. Result    Numeric
  460. Code      Value     Description
  461.  
  462. OK             0    Modem successfully executed a command line.
  463.      
  464. CONNECT        1    Connection made at 300 bps.
  465.      
  466. RING           2    Modem detected an incoming call.
  467.      
  468. NO CARRIER     3    Modem lost or could not detect a remote carrier
  469.                     signal within the Register S7 time.
  470.      
  471. ERROR          4    Modem found an error in the command line.
  472.      
  473. CONNECT        5    Modem established a connection 1200 at 1200  
  474.                     1200bps.
  475.  
  476. NO             6    Modem did not detect a dial tone within 5    
  477. DIALTONE            seconds after going off-hook.
  478.  
  479. BUSY           7    Modem detected a busy signal.
  480.  
  481. NO ANSWER      8    Five seconds of silence was not detected when
  482.                     using the @ command in the dial command line.
  483.  
  484. CONNECT 0600   9    Modem established a connection at 600 bps.
  485.  
  486. CONNECT 2400   10   Modem established a connection at 2400 bps.
  487.  
  488.  
  489. CONNECT 4800   11   Modem established a connection at 4800 bps.
  490.  
  491. CONNECT 9600   12   Connection made at 9600 bps.
  492.  
  493. +FCERROR       +F4  Fax carrier error.
  494.  
  495. CONNECT 7200   13   Connected as data modem during an 7200  answer.
  496.      
  497. CONNECT 12000  14   Connection made at 12000 bps.
  498.  
  499. CONNECT 14400  15   Connection made at 14400 bps.
  500.  
  501. CONNECT 19200  16   Connection made at 19200 bps.
  502.  
  503. CONNECT 38400  17   Connection made at 38400 bps.
  504.  
  505. CONNECT 57600  18   Connection made at 57600 bps.
  506.  
  507. CONNECT        22   Modem returns this result code when upon     
  508. 75TX/1200RX         establishing a V.23 originate connection     
  509.                     when the modem has been instructed to        
  510.                     report the DTE speed to the DTE upon         
  511.                     connecting.
  512.  
  513. CONNECT        23   Modem returns this result code when upon     
  514. 1200RX/75RX         establishing a V.23 answer connection        
  515.                     when the modem has been instructed to        
  516.                     report the DTE speed to the DTE upon         
  517.                     connecting.
  518.  
  519. CARRIER 300    40   Carrier rate of 300 bps.
  520.  
  521. CARRIER        44   V.23 backward channel has been detected.
  522. 1200/75
  523.      
  524. CARRIER        45   V.23 forward channel has been detected
  525. 75/1200
  526.  
  527. CARRIER 1200   46   Carrier rate of 1200 bps.
  528.  
  529. CARRIER 2400   47   Carrier rate of 2400 bps.
  530.  
  531. CARRIER 4800   48   Carrier rate of 4800 bps.
  532.  
  533. CARRIER 7200   49   Carrier rate of 7200 bps.
  534.  
  535. CARRIER 9600   50   Carrier rate of 9600 bps.
  536.  
  537. CARRIER 12000  51   Carrier rate of 12000 bps.
  538.  
  539. CARRIER 14400  52   Carrier rate of 14400 bps.
  540.  
  541. COMPRESSION:   66   The modem has connected in MNP class 5
  542. CLASS 5             and COMPRESSION message reporting has been
  543.                     enabled.
  544.  
  545. COMPRESSION    67   The modem has connected in V.42bis and
  546. V.42bis             COMPRESSION message reporting has been enabled.
  547.  
  548. COMPRESSION:   69   The modem has connected without data
  549. NONE                compression and COMPRESSION message reporting
  550.                     has been enabled.
  551.  
  552. PROTOCOL:      76   Modem has connected without any form of error
  553. NONE*               correction.
  554.  
  555. PROTOCOL:      77   Modem has connected in the V.42 LAPM mode
  556. LAPM*               LAPM mode of error correction.
  557.  
  558. PROTOCOL:      80   Modem has connected in the MNP mode of error
  559. ALT*                correction.
  560.  
  561. PROTOCOL:      81   Modem has connected in the MNP10 mode
  562. ALT* CELLULAR            
  563.  
  564. * PROTOCOL message reporting has been enabled.
  565.  
  566.  
  567.      
  568.           
  569.